const f1 = () => {
  console.log('do f1');
  // return 1;
  return Promise.resolve(1);
};

const f2 = async () => {
  const ret = await f1();
  console.log('await end');
  return ret;
};

f2();
console.log('all end');
